<template>
	<view>
	   <view>支付中...</view>
	   <view @click='sao'>扫码....</view>
	</view>
</template>

<script>
	
export default {
    components: {
    },
    data() {
        return {
      
        };
    },
    /**
     * 用户点击右上角分享
     */
    onShareAppMessage: function () {},
	methods:{
		sao(){
			uni.scanCode({
				scanType:['qrCode'],
				autoDecodeCharset:true,
				success: (res) => {
					uni.navigateTo({
						url:`/pages/web/web?code=${encodeURIComponent(res.result)}`
					})
				}
			})
		}
	}
};
</script>
<style lang="less">

</style>
